package com.hndzyu.yd.url;

import com.hndzyu.yd.bean.UserBean;

/**
 * Created by zz9527 on 2018/10/22.
 */
public class Path {
    public static String BASE_URL = "http://39.98.225.37:999";

    //图片
    public static String img(String url) {
        String path = BASE_URL + url;
        return path;
    }

    //提现轮播
    public static String TX() {
        String path = BASE_URL + "/index.php/index/index/txjilu";
        return path;
    }

    //签到
    public static String QD(String uid) {
        String path = BASE_URL + "/index.php/index/index/clickSign?uid=" + uid;
        return path;
    }
    //首页分类
    public static String HOME(int uid) {
        String path = BASE_URL + "/index.php/index/team/indexInfoss?uid="+uid;
        return path;
    }

    //分享列表
    public static String SHARE(String uid, int type) {
        String path = BASE_URL + "/index.php/index/index/sharesList?uid=" + uid + "&type=" + type;
        return path;
    }

    //分享回调
    public static String SHARECALLBACK(int uid, int shid) {
        String path = BASE_URL + "/index.php/index/index/shares?uid=" + uid + "&shid=" + shid;
        return path;
    }

    //分享URL
    public static String SHAREURL(String ym,int uid, int shid) {
        String path = ym + "/index.php/index/index/clickShares?uid=" + uid + "&shid=" + shid;
        return path;
    }

    //公众号列表
    public static String WECHATSUBSCRPTION(int uid) {
        String path = BASE_URL + "/index.php/index/index/wechatList?uid=" + uid;
        return path;
    }

    //团队信息
    public static String Team(int uid) {
        String path = BASE_URL + "/index.php/index/index/income?uid=" + uid;
        return path;
    }
    //团队信息
    public static String WILL(int uid) {
        String path = BASE_URL + "/index.php/index/index/estimateIncome?uid=" + uid;
        return path;
    }
    //团队信息详情
    public static String TeamDetail(int uid, int type) {
        String path = BASE_URL + "/index.php/index/index/incomeBreakdown?uid=" + uid + "&type=" + type;
        return path;
    }
    //订单
    public static String ORDER(String order, String app, String ad, String pkg, String user, String chn, String points, String price, String time, String device, String adid, String trade_type, String sign) {
        String path = BASE_URL + "/index.php/index/index/ymIntegral?order=" + order + "&app=" + app + "&ad=" + ad + "&pkg=" + pkg + "&user=" + user + "&chn=" + chn + "&points=" + points + "&price=" + price + "&time=" + time + "&device=" + device + "&adid=" + adid + "&trade_type=" + trade_type + "&sig=" + sign;
        return path;
    }

    //VIP升级
    public static String VIPUPDATE(int uid) {
        String path = BASE_URL + "/index.php/index/index/vipUpgrade?uid=" + uid;
        return path;
    }

    //VIP购买支付宝
    public static String VIP(int uid, String price) {
        String path = BASE_URL + "/index.php/index/index/aliPayVip?uid=" + uid + "&price=" + price;
        return path;
    }

    //VIP购买微信
    public static String VIPWX(int uid, String price) {
        String path = BASE_URL + "/index.php/index/index/wxPayVip?uid=" + uid + "&price=" + price;
        return path;
    }

    //VIP价格
    public static String VIPMONEY() {
        String path = BASE_URL + "/index.php/index/index/vipMoney";
        return path;
    }

    //分成比例
    public static String DIVIDE() {
        String path = BASE_URL + "/index.php/index/index/systemParameters";
        return path;
    }

    //公告
    public static String NOTICE(int page) {
        String path = BASE_URL + "/index.php/index/index/announcement?page=" + page;
        return path;
    }

    //公告图文详情
    public static String NOTICEDETAIL(int id) {
        String path = BASE_URL + "/index.php/index/index/gaoDetail?id=" + id;
        return path;
    }

    //邀请登陆
    public static String INVATE(int uid) {
        String path = BASE_URL + "/index.php/index/index/friendsLogin?buid=" + uid;
        return path;
    }

    //微信支付二维码
    public static String WXQR(int uid, String price) {
        String path = BASE_URL + "/index.php/index/index/wxPayQcode?uid=" + uid + "&price=" + price;
        return path;
    }

    //微信支付二维码
    public static String WXTASKQR(int uid, String price) {
        String path = BASE_URL + "/index.php/index/index/wxPaySub?uid=" + uid + "&price=" + price;
        return path;
    }

    //发布任务上传图片
    public static String PUBLISHIMG() {
        String path = BASE_URL + "/index.php/index/index/exampleMorePic";
        return path;
    }
    //发布任务上传图片
    public static String PUBLISHSUB() {
        String path = BASE_URL + "/index.php/index/index/subMorePics";
        return path;
    }
    //发布任务
    public static String PUBLISH(int uid, int type, String tname, String tcontent, String total, String dan, String runtime, String imgs, int canyu) {
        String path = BASE_URL + "/index.php/index/index/vipPublishTask?uid=" + uid + "&type=" + type + "&tname=" + tname + "&tcontent=" + tcontent + "&total=" + total + "&dan=" + dan + "&runtime=" + runtime + "&examplepic=" + imgs + "&isvip=" + canyu+"&fromtype=2";
        return path;
    }
    //发布任务
    public static String PUBLISH2(int uid, int type, String tname, String tcontent, String total, String dan, String runtime, String imgs, int canyu,String ordersn) {
        String path = BASE_URL + "/index.php/index/Subtask/vipPublishTask?uid=" + uid + "&type=" + type + "&tname=" + tname + "&tcontent=" + tcontent + "&total=" + total + "&dan=" + dan + "&runtime=" + runtime + "&examplepic=" + imgs + "&isvip=" + canyu+"&fromtype=2&ordersn="+ordersn;
        return path;
    }
    //发布任务支付宝
    public static String PUBLISHPAY(int uid, String price) {
        String path = BASE_URL + "/index.php/index/index/aliPaySub?uid=" + uid + "&price=" + price;
        return path;
    }

    //发布任务微信
    public static String PUBLISHPAYWX(int uid, String price) {
        String path = BASE_URL + "/index.php/index/index/wxPaySubtask?uid=" + uid + "&price=" + price;
        return path;
    }

    //发布任务支付订单确认
    public static String PUBLISHPAYORDER(String ordersn) {
        String path = BASE_URL + "/index.php/index/index/orderStatus?ordersn=" + ordersn;
        return path;
    }

    //任务过期刷新
    public static String TASKEND(int uid) {
        String path = BASE_URL + "/index.php/index/index/checkSubStatus?uid=" + uid;
        return path;
    }

    //任务审核刷新
    public static String APPROVAL(int uid) {
        String path = BASE_URL + "/index.php/index/index/myTask?uid=" + uid;
        return path;
    }

    //新手学堂
    public static String XS(int page) {
        String path = BASE_URL + "/index.php/index/index/collectionList?page=" + page;
        return path;
    }

    //新手学堂详情
    public static String XSDETAIL(int id) {
        String path = BASE_URL + "/index.php/index/index/collectionDetail?id=" + id;
        return path;
    }

    //规则中心
    public static String GZ(int page) {
        String path = BASE_URL + "/index.php/index/index/roleList?page=" + page;
        return path;
    }

    //规则中心详情
    public static String GZDETAIL(int id) {
        String path = BASE_URL + "/index.php/index/index/roleDetail?id=" + id;
        return path;
    }

    //项目方列表
    public static String APP(int uid) {
        String path = BASE_URL + "/index.php/index/index/projectList?uid=" + uid + "&status=0";
        return path;
    }

    //项目方列表
    public static String APPLOAD(int uid) {
        String path = BASE_URL + "/index.php/index/index/deeProcessing?uid=" + uid;
        return path;
    }

    //项目方详情
    public static String APPDETAIL(String proid, int uid) {
        String path = BASE_URL + "/index.php/index/index/projectDetail?proid=" + proid + "&uid=" + uid;
        return path;
    }

    //项目方深度任务下载
    public static String DEPTH(String proid, int uid, String device) {
        String path = BASE_URL + "/index.php/index/index/downloadRecord?proid=" + proid + "&uid=" + uid + "&device=" + device;
        return path;
    }

    //安装完成
    public static String APPINSTALL(int uid, String packageName, String device) {
        String path = BASE_URL + "/index.php/index/index/downloadCallback?uid=" + uid + "&deviceid=" + device + "&baoname=" + packageName;
        return path;
    }
    //游戏列表91TJ
    public static String GAMELIST(String IMEI, int uid,String  sign,int page) {
        String path = BASE_URL + "/index.php/index/index/getTjlist?MtId=231&IMEI="+IMEI+"&MtIDUser="+uid+"&sign=" + sign+"&page="+page;
        return path;
    }
    //游戏详情
    public static String GAMEDETAIL(String IMEI, int uid,String  sign,String IDTask) {
        String path = BASE_URL + "/index.php/index/index/getTjDetail?MtId=231&IMEI="+IMEI+"&MtIDUser="+uid+"&sign="+sign+"&IDTask="+IDTask;
        return path;
    }
    //游戏jxw
    public static String GAMEJXW() {
        String path = BASE_URL + "/index.php/index/index/getJxwlist";
        return path;
    }
    //游戏xw
    public static String GAMEXW(String imei,int uid) {
        String path = BASE_URL + "/index.php/index/index/getXwlist?deviceid="+imei+"&ptype=2&appsign="+uid;
        return path;
    }
    //游戏详情xw
    public static String GAMEXW(String imei,int uid,String adid) {
        String path = BASE_URL + "/index.php/index/index/getXwdetail?deviceid="+imei+"&ptype=2&appsign="+uid+"&ad_id="+adid;
        return path;
    }
    //游戏详情xw
    public static String GAMEXWDOWN(String imei,int uid,String adid) {
        String path = BASE_URL + "/index.php/index/index/userClickDownload?deviceid="+imei+"&ptype=2&appsign="+uid+"&ad_id="+adid;
        return path;
    }
    //信用卡详情
    public static String CARD(int uid,int taskid) {
        String path = BASE_URL + "/index.php/index/index/backSubtaskDetail?uid="+uid+"&taskid="+taskid;
        return path;
    }
    //信用卡详情
    public static String CARDPUSH(int uid,int taskid,String content,String tv) {
        String path = BASE_URL + "/index.php/index/index/backSubTask?uid="+uid+"&taskid="+taskid+"&content="+content+"&scontent="+tv;
        return path;
    }
    //信用卡详情
    public static String CARDPUSHDeTAIL(int uid,int taskid) {
        String path = BASE_URL + "/index.php/index/index/getBacksubInfo?uid="+uid+"&taskid="+taskid;
        return path;
    }
    //信用卡新详情
    public static String CREDITCARDPUSH(int uid,int taskid) {
        String path = BASE_URL + "/index.php/index/index/backSubtaskDetails?uid="+uid+"&taskid="+taskid;
        return path;
    }
    //信用卡详情
    public static String RandomTask(int uid) {
        String path = BASE_URL + "/index.php/index/index/getOneInfo?uid="+uid;
        return path;
    }
    //新手
    public static String NEW(int uid) {
        String path = BASE_URL + "/index.php/index/index/fastTask?uid="+uid;
        return path;
    }
    public static String PDD(String optid,int type,int page){
        String path = BASE_URL + "/index.php/index/api/pddgoods_order?opt_id="+optid+"&type="+type+"&page="+page;

        return path;
    }
    //佣金商品
    public static String PDDDETAIL(String goods_id){
        String path = BASE_URL + "/index.php/index/api/pddgoods_detail?goods_id="+goods_id;
        return path;
    }
    //佣金推广
    public static String PDDURL(int uid,String goods_id){
        String path = BASE_URL + "/index.php/index/api/creatpdd_spreadurl?uid="+uid+"&goods_id="+goods_id;
        return path;
    }
    //佣金转到余额
    public static String TOYE(int uid,String jin){
        String path = BASE_URL + "/index.php/index/api/accounts?uid="+uid+"&jin="+jin;
        return path;
    }
    //我的返佣
    public static String MYPDD(int uid,int page){
        String path = BASE_URL + "/index.php/index/api/spread_order?uid="+uid+"&page="+page;
        return path;
    }
    //搜索
    public static String PDDSEARCH(String name,int type){
        String path = BASE_URL + "/index.php/index/api/searchGoods?name="+name+"&type="+type;
        return path;
    }
    //VIP图
    public static String VIPDISCOUNT(){
        String path = BASE_URL + "/index.php/index/api/activity";
        return path;
    }
    //首页图
    public static String DISCOUNT(){
        String path = BASE_URL + "/index.php/index/faquan/indexBanner";
        return path;
    }
    //搜索
    public static String ZHUANPAN(int uid){
        String path = BASE_URL + "/index.php/index/api/lottery?uid="+uid;
        return path;
    }
    //邀请链接
    public static String zxb_register(String ip,int uid){
        String path = ip + "/index.php/index/index/zxb_register?pid="+uid+"&channel="+UserBean.qudao;
        return path;
    }
    //发布任务详情
    public static String PUBLISHMSG(int taskid,String tvcontent,String imgs){
        String path = BASE_URL + "/index.php/index/index/subTaskstep?taskid="+taskid+"&description="+tvcontent+"&imgs="+imgs;
        return path;
    }
    //快速任务
    public static String VIPFAST(int uid){
        String path = BASE_URL + "/index.php/index/index/vipfastTask?uid="+uid;
        return path;
    }
    //删除商品
    public static String PDDDELETE(String goods_id){
        String path = BASE_URL + "/index.php/index/api/pdd_goodsdelete?goods_id="+goods_id;
        return path;
    }
    //团队领袖
    public static String LEADER(int uid){
        String path = BASE_URL + "/index.php/index/team/wxleader?uid="+uid;
        return path;
    }
    //修改微信
    public static String WX(int uid,String wx){
        String path = BASE_URL + "/index.php/index/team/updateWx?uid="+uid+"&kefuwx="+wx;
        return path;
    }

    //直属
    public static String ZHISHU(int uid,int page){
        String path = BASE_URL + "/index.php/index/team/teamPhone?uid="+uid+"&page="+page;
        return path;
    }

    //直属
    public static String GAOE(int uid){
        String path = BASE_URL + "/index.php/index/team/vipgaoTask?uid="+uid;
        return path;
    }
    //微信登录
    public static String WXSHOUQUAN(int uid,String openid){

        return BASE_URL + "/index.php/index/team/appOpenid?uid="+uid+"&openid="+openid;
    }
    //发圈列表
    public static String updateFq(int uid){
        return BASE_URL + "/index.php/index/faquan/updateFq?uid="+uid;
    }
    //发圈列表
    public static String quanList(int uid, int type, int page){
        return BASE_URL + "/index.php/index/faquan/quanList?uid="+uid+"&type="+type+"&page=" + page;
    }
    //发圈详情
    public static String quanDetail(int uid, int taskid){
        return BASE_URL + "/index.php/index/faquan/quanDetail?uid="+uid+"&taskid="+taskid;
    }
    //领取任务
    public static String lingFq(int uid, int taskid){
        return BASE_URL + "/index.php/index/faquan/lingFq?uid=" + uid + "&taskid=" + taskid;
    }
    //取消任务
    public static String quxiaoFq(int uid, int taskid){
        return BASE_URL + "/index.php/index/faquan/quxiaoFq?uid=" + uid + "&taskid=" + taskid;
    }
    //上传发圈截图
    public static String subFq(int uid, int taskid, String img, String con){
        return BASE_URL + "/index.php/index/faquan/subFq?uid="+uid+"&taskid="+taskid+"&img="+img+"&con=" + con;
    }
    //查看上传发圈截图
    public static String showFq(int uid, int taskid){
        return BASE_URL + "/index.php/index/faquan/showFq?uid="+uid+"&taskid="+taskid;
    }
    //点赞比例
    public static String zanFq(){
        return BASE_URL + "/index.php/index/faquan/zanFq";
    }
//    http://zhuanxiaobao.com/index.php/index/api/accounts?uid=10006&jin=0&order_sn=12345679
    //会员注册接口
    public static final String register = BASE_URL + "/index.php/index/index/phoneRegister";
    //会员登录接口
    public static final String login = BASE_URL + "/index.php/index/index/login";
    //发送手机验证码接口
    public static final String sendPhoneCode = BASE_URL + "/index.php/index/index/sendPhoneCode";
    //修改密码
    public static final String password_xiu = BASE_URL + "/index.php/index/index/password_xiu";
    //修改头像
    public static final String avatarUpload = BASE_URL + "/index.php/index/index/avatarUpload";
    //修改个人信息
    public static final String personal_xiu = BASE_URL + "/index.php/index/index/personal_xiu";
    //提现记录
    public static final String successTixian = BASE_URL + "/index.php/index/index/successTixian";
    //任务记录
    public static final String taskRecord = BASE_URL + "/index.php/index/index/taskRecord";
    //提现
    public static final String manualWithdrawal = BASE_URL + "/index.php/index/index/manualWithdrawal";
    //获取余额
    public static final String money = BASE_URL + "/index.php/index/index/balance";
    //我的消息
    public static final String myMessage = BASE_URL + "/index.php/index/index/myMessage";
    //我邀请的好友
    public static final String inviteFriends = BASE_URL + "/index.php/index/index/inviteFriends";
    //二维码
    public static final String zxb_register = BASE_URL + "/index.php/index/index/zxb_register";
    //设备号注册接口
    public static final String deviceRegister = BASE_URL + "/index.php/index/index/deviceRegister";
    //绑定手机号接口
    public static final String phoneBinding = BASE_URL + "/index.php/index/index/phoneBinding";
    //素材接口
    public static final String material = BASE_URL + "/index.php/index/index/materials?page=";
    //商品素材接口
    public static final String pddmaterial = BASE_URL + "/index.php/index/api/pddmaterial?uid=";
    //商务合作
    public static final String businessCooperation = BASE_URL + "/index.php/index/index/businessCooperation";
    //截图任务列表
    public static final String subTaskList = BASE_URL + "/index.php/index/index/subTaskList";
    //我发布的任务
    public static final String mysubTaskList = BASE_URL + "/index.php/index/index/mySubTask";

    //领取任务
    public static final String claimTask = BASE_URL + "/index.php/index/index/claimTask";
    //取消任务
    public static final String cancelTask = BASE_URL + "/index.php/index/index/cancelTask";
    //提交任务截图
    public static final String subTask = BASE_URL + "/index.php/index/index/subTask";
    //查看任务截图详情
    public static final String getSubInfo = BASE_URL + "/index.php/index/index/getSubInfo";
    //多图上传
    public static final String subMorePic = BASE_URL + "/index.php/index/index/subMorePic";
    //截图任务详情
    public static final String subTaskDetail = BASE_URL + "/index.php/index/index/subTaskDetail";

    //查看任务截图详情
    public static final String checkStatus = BASE_URL + "/index.php/index/index/checkStatus";
    //审核通过不通过
    public static final String checkSubTask = BASE_URL + "/index.php/index/index/checkSubTask";
    //查看提交截图列表
    public static final String subCheck = BASE_URL + "/index.php/index/index/subCheck";
}
